<div class="page-content" >
            
    <div class="panel panel-default">
        <div class="panel-heading">
            <strong>报考设置</strong>
        </div>
        <div class="panel-body">
        <div id="toolbar" style="width: 100%;">
                <form id="filter" method="get"  class="form-horizontal">
                    <div class="form-group">
                        <div class="col-sm-3">
                            <input type="text" name="kw" value="<{$kw}>" class="form-control" placeholder="课程管理">
                        </div>
                        <div class="col-sm-3">
                             <select name="subject_class_id" class="form-control">
							 <option value="">按班级查询</option>
								<volist name="subject_class" id="vo">
									<option   <if condition="$subject_class_id eq $vo['subject_class']">selected="selected"</if> value="<{$vo.id}>"><{$vo.name}></option>
								</volist>
							</select>
                        </div>
                         
						<div class="col-sm-4" style="float:right; width:auto">
                            <input type="submit" class="btn btn-primary pull-right" value="筛选">
                        </div>
                    </div>
                     
                </form>
            </div>
       <div class="bootstrap-table">
		<div class="fixed-table-container" style="padding-bottom: 0px;"> 
			<div class="fixed-table-body"> 
				<table id="data-table" class="table"><thead>
			<tr>
			 
			<th style="" data-field="id"><div class="th-inner sortable both desc">ID</div><div class="fht-cell"></div></th>
		 			<th style="" data-field="name"><div class="th-inner ">课程名称</div><div class="fht-cell"></div></th>
				<th style="" data-field="name"><div class="th-inner ">报名费用</div><div class="fht-cell"></div></th>
				<th style="" data-field="name"><div class="th-inner ">操作</div><div class="fht-cell"></div></th>
			</tr></thead>
			<tbody>
			<volist name="data" id="vo">
			<tr data-index="0">
			<td style=""><{$vo.subjectid}></td>
	 
			<td style=""><{$vo.subject}></td>
			<td style=""><input type="text" class_id="<{$vo.subjectid}>" onblur="settingFee(this)" value="<{$vo.examination_fee}>"></td>
			<td><a data-type="modal" href="/BoxAddon/AutoComplete/Index/list_table/auto_complete_name/addon_forms/group/table_apply_examination_<{$vo.subjectid}>" class="btn btn-primary btn-xs">报考表单</a></td>
			</tr>
			</volist>
			</tbody></table>
			 </div> 

		</div>
	    </div>
			<div class="clearfix"></div>
        </div>
    </div>
     <script>
		 function settingFee(_this){
			 var class_id=$(_this).attr('class_id');
			 $.post("<{:U('setting')}>",{class_id:class_id,value:$(_this).val()},function(data){
				// alert(data);
			 })
		 }
	 </script>
</div>
		
 